package com.yanyi.music.service;

import com.yanyi.music.domain.Comment;

import java.util.List;
import java.util.Map;

public interface CommentService {
    int deleteByPrimaryKey(Integer id);

    int insert(Comment record);

    int insertSelective(Comment record);

    Comment selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Comment record);

    int updateByPrimaryKey(Comment record);

    /**
     * 查询所有评论
     */
    List<Comment> findAllByMap(Map<String, Object> map);
}
